/**
 * @param { object } obj
 * @returns { object } 将key/value反转之后的对象
 */
function reverseObj(obj) {
    const result = {};
    for (const key in obj) {
        result[obj[key]] = key;
    }
    return result;
}
